package com.aiti.lulian.mapper.gongxin;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.MyCollectionDto;
import com.aiti.lulian.dto.gonxin.FundDto;
import com.aiti.lulian.entity.Fund;
import com.aiti.lulian.vo.gongxin.FundVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FundMapper extends SuperMapper<Fund> {

    List<FundVo> selectFundList(Page<FundVo> page, @Param("dto") FundDto dto);

    List<FundVo> selectServerUserFundList(Page<FundVo> page, @Param("dto") FundDto dto);

    FundVo selectDetails(@Param("baseId") String baseId);

    List<FundVo> selectFundCollectionList(Page<FundVo> page, @Param("dto") MyCollectionDto dto);
}
